package com.jeesite.modules.flow.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.flow.entity.ActReModel;
import com.jeesite.modules.flow.dao.ActReModelDao;

/**
 * 流程模型信息Service
 * @author lihp
 * @version 2024-08-29
 */
@Service
public class ActReModelService extends CrudService<ActReModelDao, ActReModel> {
	
	/**
	 * 获取单条数据
	 * @param actReModel
	 * @return
	 */
	@Override
	public ActReModel get(ActReModel actReModel) {
		return super.get(actReModel);
	}
	
	/**
	 * 查询分页数据
	 * @param actReModel 查询条件
	 * @param actReModel page 分页对象
	 * @return
	 */
	@Override
	public Page<ActReModel> findPage(ActReModel actReModel) {
		return super.findPage(actReModel);
	}
	
	/**
	 * 查询列表数据
	 * @param actReModel
	 * @return
	 */
	@Override
	public List<ActReModel> findList(ActReModel actReModel) {
		return super.findList(actReModel);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param actReModel
	 */
	@Override
	@Transactional
	public void save(ActReModel actReModel) {
		super.save(actReModel);
	}
	
	/**
	 * 更新状态
	 * @param actReModel
	 */
	@Override
	@Transactional
	public void updateStatus(ActReModel actReModel) {
		super.updateStatus(actReModel);
	}
	
	/**
	 * 删除数据
	 * @param actReModel
	 */
	@Override
	@Transactional
	public void delete(ActReModel actReModel) {
		super.delete(actReModel);
	}
	
}